package org.vidi.demo.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.vidi.demo.infrastructure.ListTypeHandler;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName(autoResultMap = true)
public class People {
    private Long id;
    private String name;
    private LocalDateTime createTime;
    @TableField(typeHandler = ListTypeHandler.class)
    private List<Integer> extData;
}
